#ifndef REMOVEROWNETWORKEVENT_H_
#define REMOVEROWNETWORKEVENT_H_

#include "NetworkEvent.h"

class RemoveRowNetworkEvent : public NetworkEvent
{
public:
    struct Data
    {
        long rowId;
    };

    struct Message
    {
        Header header;
        Data data;
    };

    RemoveRowNetworkEvent(long rowId);
    RemoveRowNetworkEvent(const Header& header, const Data& data);
    virtual ~RemoveRowNetworkEvent();

    virtual void* getMessageBlob();
    virtual size_t getMessageBlobSize();

    virtual void visitWell(Well* well) const;

private:
    Message message;
};

#endif
